@echo off
:: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:: Batch file for compiling UGED and building distribution
:: This batch file will compile UGED components, build the set-up,
:: and compress the set-up
:: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
call "C:\Program Files\Microsoft Visual Studio 9.0\Common7\Tools\vsvars32.bat"

D:

echo *****Compiling UGED components...
cd \UncleGED\UncleGED10\trunk
devenv /rebuild release "UncleGED10.sln"

echo *****Archiving distribution...
cd "D:\UncleGED\UncleGED10\distribution"
del uged_10.x.x.x.zip
pacomp -a -r -p uged_10.x.x.x.zip "D:\UncleGED\UncleGED10\distribution\uged_10.x.x.x\*.*"

cd \UncleGED\UncleGED10\trunk
